package com.citywithincity.web.request;

import javax.servlet.http.HttpServletRequest;

class String2boolean  implements IRequestData  {
	
	@Override
	public Object getValue(HttpServletRequest request, String name) {
		String value = request.getParameter(name);
		return value==null ? false : Boolean.parseBoolean(value);
	}

}
